const koa = require("koa2");
const app = new koa();
const route = require("./route")
const koaStatic = require("koa-static");

app.use(koaStatic('../build'))
app.use(route.routes()).use(route.allowedMethods());

app.listen("3000");